//
//  Mac.m
//  demo
//
//  Created by zhouxiaobo on 15/10/20.
//  Copyright © 2015年 mapath. All rights reserved.
//

#import "Mac.h"

@implementation Mac
-(void)on{
    NSLog(@"电脑开机了");
}
-(void)operate:(NSString *) who{
    NSLog(@"%@在操作电脑",who);
}
-(void)off{
    NSLog(@"电脑关机了");
}

-(void) setCpu:(int)newCpu{
    cpu = newCpu;
}

-(void) setInch:(int)newInch{
    inch = newInch;
}

-(int) getCpu{
    return cpu;
}
@end
